package com.initial.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.initial.entity.TbSystemUser;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 余小年
* @description 针对表【tb_system_user】的数据库操作Service
* @createDate 2021-12-14 17:22:00
*/
@Service
@Mapper
public interface TbSystemUserService extends IService<TbSystemUser> {

    @Select("select * from tb_system_user ")
    List<TbSystemUser> persons();
    IPage<TbSystemUser> searchAllPage(Page<TbSystemUser> page);

    Integer deleteById(Integer id);
}
